package com.object.module.cbb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 商品的图片集
 */
@Data
@TableName("cbb_photo_album")
public class CbbPhotoAlbum implements Serializable {
    /**
     * 图片id
     */
    @TableId(type = IdType.AUTO)
    private Integer igId;
    /**
     * 图片地址
     */
    private String igImage;
    /**
     * 商品id
     */
    private Integer spId;
    @TableField(exist = false)
    private List<CddShopEntity> shopList;

}
